﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Logging
{
	public class LogAwareObject
	{
		private ILogWrapper log;

		protected ILogWrapper Log
		{
			get
			{
				if (log == null)
				{
					log = new LogWrapper(Logger.GetLogger(GetType().FullName), GetType());
				}

				return log;
			}
		}
	}
}